<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        tr:nth-child(2n) {
            background-color: aqua;
        }
    </style>
</head>

<body>
    <p>隔行换色</p>
    <table boeder="1">
        <thread>
            <tr>
                <th colspan="3">学员信息登记表</th>
            </tr>
        </thread>
        <tbody>
            <tr>
                <td>姓名</td>
                <td>姓别</td>
                <td>id</td>
            </tr>
            <tr>
                <td>小乔</td>
                <td>女</td>
                <td>001</td>
            </tr>
            <tr>
                <td>诸葛亮</td>
                <td>男</td>
                <td>002</td>
            </tr>
            <tr>
                <td>马克</td>
                <td>男</td>
                <td>003</td>
            </tr>
            <tr>
                <td>司马懿</td>
                <td>男</td>
                <td>004</td>
            </tr>
            <tr>
                <td>瑶</td>
                <td>女</td>
                <td>005</td>
            </tr>
        </tbody>
    </table>
</body>
</html>